<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>下单</title>
<style type="text/css">
<!--
.STYLE1 {color: #FF0000}
-->
</style>
<link href="../css/css.css" rel="stylesheet" type="text/css" />
</head>

<body>

<h2 align="center">下采购订单</h2>
<table width="90%" border="1" align="center">
  <caption>订单信息</caption>
  <tr>
    <th scope="row">订单编号</th>
    <td><input name="textfield7" type="text" id="textfield7" value="P091212001" readonly="readonly" /></td>
    <th nowrap="nowrap" scope="row">开单日期</th>
    <td nowrap="nowrap">2010年1月1日</td>
    <th nowrap="nowrap" scope="row">供应商</th>
    <td nowrap="nowrap"><select name="select2" id="select2">
      <option value=""></option>
      <option value="A0001">供应商一</option>
      <option value="A0002">供应商二</option>
    </select>
    <input type="button" name="button4" id="button4" value="查询客户订单" /></td>
    <th>对应分公司</th>
    <td>格莱尔</td>
  </tr>
  <tr>
    <th nowrap="nowrap">联系人</th>
    <td>aa</td>
    <th nowrap="nowrap">联系电话</th>
    <td>12345678</td>
    <th>传真</th>
    <td>&nbsp;</td>
    <th>月结方式</th>
    <td>&nbsp;</td>
  </tr>
  <tr>
    <th scope="row">&nbsp;</th>
    <td>&nbsp;</td>
    <th>&nbsp;</th>
    <td>&nbsp;</td>
    <th>&nbsp;</th>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
  </tr>
</table>
<table width="90%" border="1" align="center">
  <caption>
    订单详情
  </caption>
  <tr>
    <th nowrap="nowrap"><p>客户订单号</p>
    <p>或特定备货的客户编码</p></th>
    <th> GLE型号</th>
    <th>供应商型号</th>
    <th>货品名称</th>
    <th> 描述</th>
    <th>单价</th>
    <th>税率</th>
    <th scope="col">是否含税交易</th>
    <th>数量</th>
    <th>金额</th>
    <th>交货日期</th>
    <th> 备注</th>
    <th>特殊备注</th>
    <th>&nbsp;</th>
  </tr>
  <tr>
    <td>xxxxx</td>
    <td><input name="textfield" type="text" id="textfield" value="GLE00001" size="20" readonly="readonly" /></td>
    <td>&nbsp;</td>
    <td>三极管</td>
    <td>sdxxxxxxx速度发送打法所担负</td>
    <td>5.90</td>
    <td>17%</td>
    <td><select name="select5" id="select7">
      </select>    </td>
    <td><input name="textfield2" type="text" id="textfield2" value="40" size="10" /></td>
    <td>590</td>
    <td><input name="textfield3" type="text" id="textfield3" size="10" /></td>
    <td><input type="text" name="textfield4" id="textfield4" /></td>
    <td>xxx</td>
    <td nowrap="nowrap"><a href="#">删除</a></td>
  </tr>
  <tr>
    <td><input name="textfield6" type="text" id="textfield6" size="20" /></td>
    <td><input name="textfield" type="text" id="textfield" size="20" /></td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td><select name="select5" id="select5">
      </select>    </td>
    <td><input name="textfield2" type="text" id="textfield2" size="10" /></td>
    <td>&nbsp;</td>
    <td><input name="textfield3" type="text" id="textfield3" size="10" /></td>
    <td><input type="text" name="textfield4" id="textfield4" /></td>
    <td>&nbsp;</td>
    <td nowrap="nowrap"><a href="#">删除</a></td>
  </tr>
  <tr>
    <th colspan="8"><div align="right">合计</div></th>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td nowrap="nowrap">&nbsp;</td>
  </tr>
</table>
<p align="center">
  <input type="button" name="button" id="button" value="增加货品" />
&nbsp;&nbsp;
<input type="submit" name="button2" id="button2" value="提交" />
&nbsp;&nbsp;<input type="button" name="button3" id="button3" value="取消" />
</p>
<hr />
<p>特殊说明：</p>
<ol>
  <li>第一步，先选择供应商。</li>
  <li>采购单中包括3种物料情况：
    <ol>
      <li>从客户订单中查询出来的该供应商对应物料，GLE型号和数量是自动填上的，GLE型号不可修改。<span class="STYLE1">
        <ol>
        <li>交货日期自动填上客户订单的交货日期减n天？可修改。n的值写在配置里面。</li>
      <li>数量应该不能修改？因为一条记录对应客户订单详情中的一条记录，其需备货数量是确定的。</li>
      </ol>
      </span></li>
      <li>通用客户备料，需要“增加”，在新增加的一行中填写GLE型号，第1列留空不填。</li>
      <li>特定客户备料，需要“增加”，在新增加的一行中填写特定备货的客户编码（在第1列）和GLE型号。</li>
    </ol>
  </li>
  <li></li>
</ol>
</body>
</html>
